home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr44 / modex32w.zip / MASKIM.H < prev    next >
Text File  |  1994-09-03  |  720b  |  21 lines

  1. /* MASKIM.H: structures used for storing and manipulating masked
  2.    images */
  3.  
  4. /* Describes one alignment of a mask-image pair */
  5.  
  6. typedef struct {
  7.    int ImageWidth; /* image width in addresses in display memory (also
  8.                       mask width in bytes) */
  9.    unsigned int ImagePtr; /* offset of image bitmap in display mem */
  10.    char *MaskPtr;  /* pointer to mask bitmap */
  11. } AlignedMaskedImage;
  12.  
  13. /* Describes all four alignments of a mask-image pair */
  14.  
  15. typedef struct {
  16.    AlignedMaskedImage *Alignments[4]; /* ptrs to AlignedMaskedImage
  17.                                       structs for four possible destination 
  18.                                       image alignments */
  19. } MaskedImage;
  20.  
  21.